package net.lzzy.practices.services;

import net.lzzy.practices.constants.Messages;
import net.lzzy.practices.entities.Option;
import net.lzzy.practices.entities.Question;

import java.util.List;
import java.util.UUID;

public interface QuestionService {
    List<Question> get(UUID chapterId);
    Question add(UUID chapterId, Question question,String token);
    Question update(UUID id, Question question,String token);
    Messages remove(UUID id,String token);
    Question addOption(UUID questionId, Option option, String token);
    Question removeOption(UUID id,String token);
    Question getById(UUID id);
    Integer countBy(UUID chapterId);
}
